package com.ruoyi.xsp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 关注管理对象 xsp_user_concerned
 * 
 * @author zhiminhu
 * @date 2021-01-22
 */
public class XspUserConcerned extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 关注人ID */
    @Excel(name = "关注人ID")
    private Long toUserCode;

    /** 粉丝Code */
    @Excel(name = "粉丝Code")
    private Long fanUserCode;

    /** 创建人 */
    private String creator;

    /** 好友标志 */
    @Excel(name = "好友标志")
    private String isFriend;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setToUserCode(Long toUserCode)
    {
        this.toUserCode = toUserCode;
    }

    public Long getToUserCode()
    {
        return toUserCode;
    }
    public void setFanUserCode(Long fanUserCode)
    {
        this.fanUserCode = fanUserCode;
    }

    public Long getFanUserCode()
    {
        return fanUserCode;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setIsFriend(String isFriend) 
    {
        this.isFriend = isFriend;
    }

    public String getIsFriend() 
    {
        return isFriend;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("toUserCode", getToUserCode())
            .append("fanUserCode", getFanUserCode())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("isFriend", getIsFriend())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
